package com.ailot.cloud.upms.api.mapper;

import com.ailot.cloud.upms.common.entity.SysOrg;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;


public interface SysOrgMapper extends BaseMapper<SysOrg> {

    @Select("select name from sys_org where id = #{id}")
    String getOrgNameById(String id);

}
